package com.chagee.channel.api.bo.lark;

import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author: chang.jiawei
 * @date: 2024/01/16
 */
@Data
@Accessors(chain = true)
public class RejectApprovalBO implements Serializable {

    private static final long serialVersionUID = 4632577984877800840L;
    @JSONField(name = "approval_code")
    @NotBlank(message = "approvalCode不能为空")
    private String approvalCode;

    @JSONField(name = "instance_code")
    @NotBlank(message = "instanceCode不能为空")
    private String instanceCode;

    /**
     * 审批人user_id,
     */
    @JSONField(name = "user_id")
    @NotBlank(message = "userId不能为空")
    private String userId;

    /**
     * 评论
     */
    private String comment;

    /**
     * 任务task_id,
     */
    @JSONField(name = "task_id")
    @NotBlank(message = "taskId不能为空")
    private String taskId;

}
